package pack3;

public class Family extends TV{
    TV homeTV=new TV();
    public void buyTV(TV homeTV){
        System.out.println("buyTV运行成功");
    }
    public int remoteControl(int chan){
        watchChannel(chan);
        System.out.println("remoteControl运行成功");
        return super.getChannel();
    }
    public void watchTV(){
        System.out.println("watchTV运行成功");
    }
}
